<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" 
	xmlns:f="http://java.sun.com/jsf/core" 
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:osms="http://java.sun.com/jsf/composite/osms">
	
	<ui:composition template="/osms/template/template.xhtml">
      	<ui:define name="contents">

				<osms:categoryBootstrap caption="Edit Category" panel="#{editCategory.panel}" disabled="#{editCategory.categorySaved}">
				
					<f:facet name="commands">
						<h:commandButton value="Save" action="#{editCategory.editCategory}" disabled="#{editCategory.categorySaved}"></h:commandButton>
						<h:button outcome="searchCategory" value="Cancel" rendered="#{editCategory.categorySaved == false}"></h:button>
						<h:commandButton action="#{searchCategory.initialize}" value="Back" rendered="#{editCategory.categorySaved}"></h:commandButton>
					</f:facet>

				</osms:categoryBootstrap>
				
		</ui:define>
	</ui:composition>	
</html>